extends Area2D
class_name Beneficial_Items

var speed = -40
var height = -16

func _ready():
	var tween = get_tree().create_tween()
	var new_pos = Vector2(position.x,position.y + height)
	tween.tween_property(self,"position",new_pos,1)
	tween.finished.connect(func ():
		get_node("./CollisionShape2D").disabled = false
	)
